\hypertarget{group__wickr__packet__meta}{}\section{wickr\+\_\+packet\+\_\+meta}
\label{group__wickr__packet__meta}\index{wickr\_packet\_meta@{wickr\_packet\_meta}}
\subsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct \mbox{\hyperlink{structwickr__ephemeral__info}{wickr\+\_\+ephemeral\+\_\+info}}
\begin{DoxyCompactList}\small\item\em Message destruction control metadata. \end{DoxyCompactList}\item 
struct \mbox{\hyperlink{structwickr__packet__meta}{wickr\+\_\+packet\+\_\+meta}}
\begin{DoxyCompactList}\small\item\em control metadata found in the encrypted payload of a packet \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{structwickr__packet__meta}{wickr\+\_\+packet\+\_\+meta\+\_\+t}} $\ast$ \mbox{\hyperlink{group__wickr__packet__meta_ga146144d74da12c1fff766462fe7fa661}{wickr\+\_\+packet\+\_\+meta\+\_\+create}} (\mbox{\hyperlink{structwickr__ephemeral__info}{wickr\+\_\+ephemeral\+\_\+info\+\_\+t}} ephemerality\+\_\+settings, \mbox{\hyperlink{structwickr__buffer}{wickr\+\_\+buffer\+\_\+t}} $\ast$channel\+\_\+tag, uint16\+\_\+t content\+\_\+type)
\item 
\mbox{\hyperlink{structwickr__packet__meta}{wickr\+\_\+packet\+\_\+meta\+\_\+t}} $\ast$ \mbox{\hyperlink{group__wickr__packet__meta_ga1bb5a0f2a49069679b174b3e6521fe9b}{wickr\+\_\+packet\+\_\+meta\+\_\+copy}} (const \mbox{\hyperlink{structwickr__packet__meta}{wickr\+\_\+packet\+\_\+meta\+\_\+t}} $\ast$source)
\item 
void \mbox{\hyperlink{group__wickr__packet__meta_gad165ad670da761478cf5f8f91223c1d3}{wickr\+\_\+packet\+\_\+meta\+\_\+destroy}} (\mbox{\hyperlink{structwickr__packet__meta}{wickr\+\_\+packet\+\_\+meta\+\_\+t}} $\ast$$\ast$meta)
\end{DoxyCompactItemize}


\subsection{Detailed Description}


\subsection{Function Documentation}
\mbox{\Hypertarget{group__wickr__packet__meta_ga1bb5a0f2a49069679b174b3e6521fe9b}\label{group__wickr__packet__meta_ga1bb5a0f2a49069679b174b3e6521fe9b}} 
\index{wickr\_packet\_meta@{wickr\_packet\_meta}!wickr\_packet\_meta\_copy@{wickr\_packet\_meta\_copy}}
\index{wickr\_packet\_meta\_copy@{wickr\_packet\_meta\_copy}!wickr\_packet\_meta@{wickr\_packet\_meta}}
\subsubsection{\texorpdfstring{wickr\_packet\_meta\_copy()}{wickr\_packet\_meta\_copy()}}
{\footnotesize\ttfamily \mbox{\hyperlink{structwickr__packet__meta}{wickr\+\_\+packet\+\_\+meta\+\_\+t}}$\ast$ wickr\+\_\+packet\+\_\+meta\+\_\+copy (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{structwickr__packet__meta}{wickr\+\_\+packet\+\_\+meta\+\_\+t}} $\ast$}]{source }\end{DoxyParamCaption})}

Copy an packet metadata set


\begin{DoxyParams}{Parameters}
{\em source} & the packet metadata set to copy \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
a newly packet metadata set holding a deep copy of the properties of \textquotesingle{}source\textquotesingle{} 
\end{DoxyReturn}
\mbox{\Hypertarget{group__wickr__packet__meta_ga146144d74da12c1fff766462fe7fa661}\label{group__wickr__packet__meta_ga146144d74da12c1fff766462fe7fa661}} 
\index{wickr\_packet\_meta@{wickr\_packet\_meta}!wickr\_packet\_meta\_create@{wickr\_packet\_meta\_create}}
\index{wickr\_packet\_meta\_create@{wickr\_packet\_meta\_create}!wickr\_packet\_meta@{wickr\_packet\_meta}}
\subsubsection{\texorpdfstring{wickr\_packet\_meta\_create()}{wickr\_packet\_meta\_create()}}
{\footnotesize\ttfamily \mbox{\hyperlink{structwickr__packet__meta}{wickr\+\_\+packet\+\_\+meta\+\_\+t}}$\ast$ wickr\+\_\+packet\+\_\+meta\+\_\+create (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{structwickr__ephemeral__info}{wickr\+\_\+ephemeral\+\_\+info\+\_\+t}}}]{ephemerality\+\_\+settings,  }\item[{\mbox{\hyperlink{structwickr__buffer}{wickr\+\_\+buffer\+\_\+t}} $\ast$}]{channel\+\_\+tag,  }\item[{uint16\+\_\+t}]{content\+\_\+type }\end{DoxyParamCaption})}

Construct packet metadata from components


\begin{DoxyParams}{Parameters}
{\em ephemerality\+\_\+settings} & see \textquotesingle{}\mbox{\hyperlink{structwickr__packet__meta}{wickr\+\_\+packet\+\_\+meta}}\textquotesingle{} property documentation property documentation \\
\hline
{\em channel\+\_\+tag} & see \textquotesingle{}\mbox{\hyperlink{structwickr__packet__meta}{wickr\+\_\+packet\+\_\+meta}}\textquotesingle{} property documentation property documentation \\
\hline
{\em content\+\_\+type} & see \textquotesingle{}\mbox{\hyperlink{structwickr__packet__meta}{wickr\+\_\+packet\+\_\+meta}}\textquotesingle{} property documentation property documentation \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
a newly allocated packet metadata set owning the properties passed in 
\end{DoxyReturn}
\mbox{\Hypertarget{group__wickr__packet__meta_gad165ad670da761478cf5f8f91223c1d3}\label{group__wickr__packet__meta_gad165ad670da761478cf5f8f91223c1d3}} 
\index{wickr\_packet\_meta@{wickr\_packet\_meta}!wickr\_packet\_meta\_destroy@{wickr\_packet\_meta\_destroy}}
\index{wickr\_packet\_meta\_destroy@{wickr\_packet\_meta\_destroy}!wickr\_packet\_meta@{wickr\_packet\_meta}}
\subsubsection{\texorpdfstring{wickr\_packet\_meta\_destroy()}{wickr\_packet\_meta\_destroy()}}
{\footnotesize\ttfamily void wickr\+\_\+packet\+\_\+meta\+\_\+destroy (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{structwickr__packet__meta}{wickr\+\_\+packet\+\_\+meta\+\_\+t}} $\ast$$\ast$}]{meta }\end{DoxyParamCaption})}

Destroy packet metadata set


\begin{DoxyParams}{Parameters}
{\em meta} & a pointer to the result to destroy. All properties of \textquotesingle{}$\ast$meta\textquotesingle{} will also be destroyed \\
\hline
\end{DoxyParams}
